package com.dm.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dm.server.entity.UserInfo;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 虎哥
 * @since 2021-12-24
 */
public interface UserInfoMapper extends BaseMapper<UserInfo> {
    @Select("select * from tb_user_info where user_id=#{userId}")
    UserInfo selectByUserId(Long userId);
}
